﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class program
    {
        static void Main(string[] args)
        {
            

            Console.WriteLine("请用户输入要狗还是鱼？");

            string animals = Console.ReadLine();
            if (animals=="狗")
            {
                Console.WriteLine("狗的颜色：");
                Console.ReadLine();
                Console.WriteLine("狗的名字");
                Console.ReadLine();
                Animals dog = new Dog();
                dog.Mobile();
            }
            if(animals == "鱼")
            {
                Console.WriteLine("鱼的颜色：");
                Console.ReadLine();
                Console.WriteLine("鱼的名字");
                Console.ReadLine();
                Animals fish = new Fish();
                fish.Mobile();
            }


        }
    }
}
